commit | cfef9f25f39bdaf362b7cbccc51720e3a0ed3d35 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sat Jun 19 12:02:57 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sat Jun 19 12:02:57 2021 +0000 |
tree | ee2d0182d9611b11c7d1e2229bce499e812480f3 | |
parent | a0c2438c7a883c23642177532ad8228d7b666de4 [diff] | |
parent | 9f0bad686d0e7517a28c3992cd768f9111ff276f [diff] |
Snap for 7474514 from 9f0bad686d0e7517a28c3992cd768f9111ff276f to mainline-media-swcodec-release Change-Id: If997e871e25772cec7219a19d6defb7efb20c2da
Foreign Function Interface for Python calling C code. Please see the Documentation or uncompiled in the doc/ subdirectory.
To run tests under CPython, run::
pip install pytest # if you don't have py.test already pip install pycparser python setup.py build_ext -f -i py.test c/ testing/
If you run in another directory (either the tests or another program), you should use the environment variable PYTHONPATH=/path
to point to the location that contains the _cffi_backend.so
just compiled.